package com.wesley.builder.house;

/**
 * <h1>概述</h1>
 * <p>详述</p>
 *
 * @Date: 2021/8/13
 */
public class HouseClient {
    public static void main(String[] args) {

        // 生产一个普通房子
        House commonHouse = new DirectHouse(new CommonHouse()).buildHouse();
        House highHouse = new DirectHouse(new HighHouse()).buildHouse();
        System.out.println(commonHouse);
        System.out.println(highHouse);


    }
}
